home *** CD-ROM | disk | FTP | other *** search
- Short: Notify on screen close/private/public (V1.0)
- Author: stefanb@yello.ping.de (Stefan Becker)
- Uploader: stefanb@yello.ping.de (Stefan Becker)
- Type: util/libs
-
- Starting with AmigaOS V37 the Workbench offers a library with some useful
- functions for applications. Although this is a _BIG_ improvement over the
- old Workbench there are still some important features missing. The most
- annoying one is that an application with an open window on the Workbench
- screen prevents the closing of the screen, e.g. after pressing "Use" in
- the ScreenMode preferences editor.
-
- To circumvent these programs have either to patch the CloseWorkBench()
- and OpenWorkBench() functions in the intuition.library or to add a
- notification for the screenmode.prefs file. The ideal solution would be a
- new App* message from the Workbench, but as we all know a Workbench
- update/rewrite is not very likely in the near future :-(
-
- ScreenNotify offers an intermediate solution. It patches the above
- mentioned functions and offers a notification service for clients. This
- hides the "dirty" things in one location and offers a clean interface to
- the outside world. Clients only have to close their windows on the
- Workbench screen after receiving a CLOSE notification. They may open them
- again after receiving an OPEN notification.
-
- Additionally ScreenNotify patches CloseScreen() and PubScreenStatus(). It
- can therefore offer a notification when a public screen is closed or
- opened. This may be useful for utilities which open their windows on
- public screens.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 632 279 55.8% 26-Mar-95 12:05:42 ScreenNotify.info
- 743 292 60.6% 26-Mar-95 12:05:42 ScreenNotify/dlib/DMakefile
- 389 202 48.0% 26-Mar-95 12:05:42 ScreenNotify/fd/screennotify_lib.fd
- 528 262 50.3% 26-Mar-95 12:05:42 ScreenNotify/include/clib/screennotify_protos.h
- 1646 558 66.0% 26-Mar-95 12:05:42 ScreenNotify/include/libraries/screennotify.h
- 439 148 66.2% 26-Mar-95 12:05:42 ScreenNotify/include/pragmas/screennotify_pragmas.h
- 210 138 34.2% 26-Mar-95 12:05:42 ScreenNotify/include/proto/screennotify.h
- 2608 1456 44.1% 26-Mar-95 12:06:00 ScreenNotify/libs/screennotify.library
- 6072 2666 56.0% 26-Mar-95 12:05:42 ScreenNotify/README
- 731 637 12.8% 26-Mar-95 12:05:42 ScreenNotify/README.info
- 9947 1867 81.2% 26-Mar-95 12:05:42 ScreenNotify/screennotify.doc
- 731 641 12.3% 26-Mar-95 12:05:42 ScreenNotify/screennotify.doc.info
- 3124 2127 31.9% 26-Mar-95 12:06:08 ScreenNotify/screennotifytest
- 1014 442 56.4% 26-Mar-95 12:05:42 ScreenNotify/src/DMakefile
- 3712 1039 72.0% 26-Mar-95 12:05:42 ScreenNotify/src/functions.c
- 10716 2379 77.7% 26-Mar-95 12:05:42 ScreenNotify/src/patch.c
- 5903 1729 70.7% 26-Mar-95 12:05:42 ScreenNotify/src/screennotify.c
- 2185 727 66.7% 26-Mar-95 12:05:42 ScreenNotify/src/screennotify.h
- 3123 1102 64.7% 26-Mar-95 12:05:42 ScreenNotify/src/screennotifytest.c
- -------- ------- ----- --------- --------
- 54453 18691 65.6% 26-Mar-95 19:53:32 19 files
-